package cn.usian.service;

import cn.usian.common.R;
import cn.usian.entity.Dish;
import cn.usian.entity.DishDTO;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

import java.util.List;

public interface DishService {


    R delDish(Long[] ids);

    R addDish(DishDTO dishDTO);


    R findById(Long id);

    R updateDish(DishDTO dishDTO);

    void updateone(Long[] ids, Integer status);

    R findPage(Page<DishDTO> page1, String name);

    R list(Dish dish);
}
